package com.mall.goods.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 品牌分类关联表
 * </p>
 *
 * @author Darren
 * @since 2022-08-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("category_brand")
@ApiModel(value="CategoryBrand对象", description="品牌分类关联表")
public class CategoryBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类ID
     */
    @ApiModelProperty(value = "分类ID")
    @TableField("category_id")
    private Integer categoryId;

    /**
     * 品牌ID
     */
    @ApiModelProperty(value = "品牌ID")
    @TableField("brand_id")
    private Integer brandId;


}
